package cn.edu.zut.cs.Business;

import cn.edu.zut.cs.Model.User;
import org.apache.ibatis.annotations.Param;


import javax.jws.soap.SOAPBinding;
import java.util.List;

public interface UserService {
    int zhuceuser(@Param("username") String username, @Param("pwd") String pwd, @Param("registetime") String registetime, @Param("phone") String phone);

    int updateuserinfo(@Param("nickname") String nickname,@Param("username") String username,@Param("headimage") String headimage,@Param("personalsignature") String personalsignature,@Param("locals") String locals,@Param("sex") String sex);


    int updatepwd(@Param("username") String username,@Param("pwd") String pwd);

    int logout(@Param("username") String username,@Param("logouttime")String logouttime);

    User findbyusernameandpwd(String username);

    //模糊查询
    List<User> findBymohu(String uname);
}
